package com.adou.d16.dos;

import java.io.DataOutputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;

public class DOSTest {
    public static void main(String[] args) {
        try(final DataOutputStream dos = new DataOutputStream(new FileOutputStream("d1-helloword-app\\src\\it11_out.txt"));) {
            dos.writeInt(97);
            dos.writeDouble(98.7);
            dos.writeUTF("我是中国人123");




        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
